package com.example.smartcommunity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

public class FindActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_find);

        TextView find01 = findViewById(R.id.find01);
        TextView find02 = findViewById(R.id.find02);
        TextView find03 = findViewById(R.id.find03);
        find01.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(FindActivity.this,ShangqActivity.class);
                startActivity(intent);
            }
        });
        find02.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(FindActivity.this,ThestudioActivity.class);
                startActivity(intent);
            }
        });
        find03.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(FindActivity.this,HongheiActivity.class);
                startActivity(intent);
            }
        });

    }
}
